package com.dongdongshop.controller;

import com.dongdongshop.service.ItemPageService;
import com.dongdongshop.util.Result;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
@RequestMapping("item")
public class ItemPageController {

    @Autowired
    private ItemPageService is;


    @RequestMapping("createPage")
    @ResponseBody
    public Result createPage(Long goodsId){
        is.createPage(goodsId);
        return Result.OK();
    }

}
